<?php

/**
 * 充值送礼记录
 */
class Application_Model_AwardHistory extends Application_Model_DomainObject{
    
    protected $_id;
    
    protected $_userName;
    
    protected $_awardName;
    
    protected $_addTime;
    
    public static function getNewAward($date){
        return self::getDao()->queryAll(array('addTime <= '=>$date),"addTime desc");
    }
}